<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
    var num = 1;
    //console.log(num++);
    console.log(++num);
</script>
</body>
</html>